import request from "@/utils/request";

export default {
    //获取全部图谱
    getKnowledgeGraph(courseId,level){
        return request({
            url:`/system/graph/toTree/${courseId}/${level}`,
            method:'get'
        })
    },
    //查询图谱节点详情数据
    getKnowledgeGraphDetail(id){
        return request({
            url:`/system/graph/node/info/${id}`,
            method:'get'
        })
    }
}